<form method="post" action="<?php _actionUrl($this)?>" onsubmit="return ajax_form(this)">
<div class="x-form-container" style="overflow: true;">
<input type="hidden" name="asset_id" value="<?php _e($this->get('asset_id'))?>" />
<div class="form-message"></div>
<table  width="100%" cellpadding="5" class="x-form">
	<tr>
		<td class="x-form-label">Mã số biên bản bàn giao : </td>
		<td class="x-form-content">
			<input class="x-text" type="text" name="code_transfers" style="width:100px;"  value="<?php _e($post["code_transfers"]);?>"/>
		</td>
	</tr>
	<tr>
		<td class="x-form-label">Đơn vị sử dụng : </td>
		<td class="x-form-content">
			<select name="department_id" class="x-select" style="width:250px;">
				<?php _e( select_options($this->get('treeDepartment')) );?>	
			</select>
		</td>
	</tr>
	<tr>
		<td class="x-form-label">Người sử dụng : </td>
		<td class="x-form-content">
			<div class="x-select-users" style="width:300px;" x-name="users[]" x-title="Xem tài liệu">
				<?php
					$usersGet = $this->get('users');			
					if(isset($usersGet)){
					foreach($usersGet as $user ){?>
					<span class="item">
						<input type="hidden" name="usersView[]" value="<?php _e($user['ID'])?>"><a><?php _e($user['username'])?></a><span class="close">x</span>
			        </span>
					<?php }
						}
					?>	
			</div>				
		</td>
	</tr>
	<tr>
		<td class="x-form-label">
			
		</td>
		<td class="x-form-content">
			<input type="submit" class="x-button x-save" value="Tạo mới"/>
			<a onclick="remove_frame(this)" class="x-button x-fresh">Hủy bỏ</a>
		</td>
	</tr>
</table>
</div>
</form>